package com.teaching.teachingsupport.common.pojo.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("homework_submission")
public class HomeworkSubmission {
    @TableId(value = "submission_id", type = IdType.AUTO)
    private Long submissionId;
    
    @TableField("question_id")
    private Long questionId;
    
    @TableField("homework_id")
    private Long homeworkId;
    
    @TableField("student_id")
    private Long studentId;
    
    @TableField("teacher_id")
    private Long teacherId;
    
    @TableField("content_text")
    private String contentText;
    
    @TableField("file_path")
    private String filePath;
    
    @TableField("file_name")
    private String fileName;
    
    @TableField("file_type")
    private String fileType;
    
    @TableField("file_size")
    private Long fileSize;
    
    @TableField("submission_status")
    private String submissionStatus;
    
    @TableField("score")
    private BigDecimal score;
    
    @TableField("teacher_comment")
    private String teacherComment;
    
    @TableField("submit_time")
    private LocalDateTime submitTime;
    
    @TableField("create_time")
    private LocalDateTime createTime;
    
    @TableField("update_time")
    private LocalDateTime updateTime;
} 